
#分解质因数
def factor(n:int):
    start=2
    #print(n,"=",end='')
    l=[]#列表
    while n!=1:
        if n % start==0:
            #print(start,end='')
            n//=start
            l.append(start)
            #if n!=1:
            #    print("*",end="")
        else:
            start+=1
    return l

if __name__ == "__main__":
    print(type(factor))
    for i in range(100,1001):
        print(i,"=",factor(i))
    # c=factor(100)
    # print("结果是：",c)
    # print(factor(99))